package com.interview.rtc.aigc.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 火山引擎配置类
 */
@Configuration
@ConfigurationProperties(prefix = "volcengine")
public class VolcengineConfig {

    /**
     * 在 https://console.volcengine.com/iam/keymanage/ 获取
     */
    private String accessKeyId = "Your AK";

    /**
     * 在 https://console.volcengine.com/iam/keymanage/ 获取
     */
    private String secretKey = "Your SK";

    /**
     * 子账号需要
     */
    private String sessionToken;

    /**
     * RTC服务的AppID
     */
    private String rtcAppId = "";

    /**
     * RTC服务的AppKey
     */
    private String rtcAppKey = "";

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public String getSessionToken() {
        return sessionToken;
    }

    public void setSessionToken(String sessionToken) {
        this.sessionToken = sessionToken;
    }

    public String getRtcAppId() {
        return rtcAppId;
    }

    public void setRtcAppId(String rtcAppId) {
        this.rtcAppId = rtcAppId;
    }

    public String getRtcAppKey() {
        return rtcAppKey;
    }

    public void setRtcAppKey(String rtcAppKey) {
        this.rtcAppKey = rtcAppKey;
    }
}
